package com.wanmait.zaisousuo.service.Impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.zaisousuo.service.ArticlePraiseService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.wanmait.zaisousuo.pojo.ArticlePraise;
import com.wanmait.zaisousuo.mapper.ArticlePraiseMapper;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class ArticlePraiseServiceImpl implements ArticlePraiseService {

    @Resource
    private ArticlePraiseMapper articlePraiseMapper;


    @Override
    public void insert(ArticlePraise object) {

    }

    @Override
    public void update(ArticlePraise object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public ArticlePraise findById(Integer id) {
        return null;
    }

    @Override
    public List<ArticlePraise> findAll() {
        return null;
    }

    @Override
    public List<ArticlePraise> findAll(ArticlePraise object) {
        return null;
    }

    @Override
    public int getDataCount() {
        return 0;
    }

    @Override
    public int getDataCount(ArticlePraise object) {
        return 0;
    }

    @Override
    public PageInfo<ArticlePraise> findList(int pageNum) {
        return null;
    }

    @Override
    public void insertPraiseCount(List<ArticlePraise> articlePraises) {
        articlePraiseMapper.insertPraiseCount(articlePraises);
    }
}
